//
//  UIButton+backgroundColorForState.h
//  Zhidao
//
//  Created by xiaoqiang on 13-8-23.
//  Copyright (c) 2013年 Baidu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


@interface UIButton(backgroundColorForState)

- (void)setBackgroundColor:(UIColor *)color forState:(UIControlState)state;

- (void)setALBackgroundColor:(UIColor *)color forState:(UIControlState)state;

//自动高光,只管设置一个背景图就行
- (void)setAutoHighlightBackgroundImage:(UIImage *)image;

// 设置圆角的背景色
- (void)setBackgroundColorWithCornerRadius:(CGFloat)radius color:(UIColor *)color borderColor:(UIColor *)borderColor forState:(UIControlState)state;
// 设置边框线颜色
- (void)setCornerRadius:(CGFloat)radius color:(UIColor *)color borderColor:(UIColor *)borderColor;

@end
